export default {
    name: "XTableColumn",
    props: {
        label: String,
        prop: String
    },
    data() {
        return {
            column: {}
        }
    },
    created() {
        this.column = {
            label: this.label,
            prop: this.prop,
            scopedSlots: this.scopedSlots
        }
        console.log(this.column)
        console.log(this.$scopedSlots)
    },
    mounted() {
        console.log(this.$parent)
        this.$parent.columns.push(this.column)
    },
    render(h) {
        return null;
    },
}